package com.ruoyi.project.system.domain;

import java.time.LocalDateTime;

/**
 * 预约主表实体（类名修改为 ReservationAll）
 */
public class ReservationAll {
    /** 预约ID */
    private String resId;

    /** 用户ID */
    private Long userId;

    /** 患者姓名 */
    private String name;

    /** 身份证号 */
    private String identity;

    /** 手机号 */
    private String phone;

    /** 科室ID（关联 department_list.id） */
    private Long departmentId;

    /** 医生姓名 */
    private String doctor;

    /** 创建时间 */
    private LocalDateTime createTime;

    /** 预约状态（0=待处理，1=已确认，2=已处理，3=已取消） */
    private Integer resolve;

    /** 预约完整时间（如：2025-11-25 09:30:00） */
    private LocalDateTime datetime;

    /** 预约日期（前端展示用，从 datetime 提取，非数据库字段） */
    private String appointmentDate;

    /** 科室名称（联表查询结果，非数据库字段） */
    private String department;

    private String doctorId;

    private Integer queryIs;

    // 手动 getter/setter（全量）
    public Integer getQueryIs() {return queryIs;}
    public void setQueryIs(Integer queryIs) {this.queryIs = queryIs;}
    public String getResId() { return resId; }
    public void setResId(String resId) { this.resId = resId; }
    public Long getUserId() { return userId; }
    public void setUserId(Long userId) { this.userId = userId; }
    public String getName() { return name; }
    public void setName(String name) { this.name = name; }
    public String getIdentity() { return identity; }
    public void setIdentity(String identity) { this.identity = identity; }
    public String getPhone() { return phone; }
    public void setPhone(String phone) { this.phone = phone; }
    public Long getDepartmentId() { return departmentId; }
    public void setDepartmentId(Long departmentId) { this.departmentId = departmentId; }
    public String getDoctor() { return doctor; }
    public void setDoctor(String doctor) { this.doctor = doctor; }
    public LocalDateTime getCreateTime() { return createTime; }
    public void setCreateTime(LocalDateTime createTime) { this.createTime = createTime; }
    public Integer getResolve() { return resolve; }
    public void setResolve(Integer resolve) { this.resolve = resolve; }
    public LocalDateTime getDatetime() { return datetime; }
    public void setDatetime(LocalDateTime datetime) { this.datetime = datetime; }
    public String getAppointmentDate() { return appointmentDate; }
    public void setAppointmentDate(String appointmentDate) { this.appointmentDate = appointmentDate; }
    public String getDepartment() { return department; }
    public void setDepartment(String department) { this.department = department; }

    //补充
     public String getDoctorId() {
        return doctorId;
    }

    public void setDoctorId(String doctorId) {
        this.doctorId = doctorId;
    }
}